package com.kgc.xs.pojo;


import com.alibaba.excel.annotation.ExcelIgnore;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelProperty;
import com.kgc.basic.annotation.PdfFieldMapping;


public class SalesInvoiceDetail {

    @ExcelIgnore
    private Integer id;

    @ExcelProperty("关联销售发票编号")
    private String invoiceCode;

    @ExcelProperty("商品id")
    private Integer goodId;

    @ExcelProperty("商品名称")
    @PdfFieldMapping(templateField = "fill_1")
    private String goodName;

//    @PdfFieldMapping(templateField = "")
    private Integer quantity;

    @PdfFieldMapping(templateField = "fill_2")
    @ExcelProperty("开票数量")
    private BigDecimal invoicingQuantity;

    @PdfFieldMapping(templateField = "fill_3")
    @ExcelProperty("开票金额")
    private BigDecimal invoicingAmount;

    @PdfFieldMapping(templateField = "fill_4")
    private Integer tax;

    @ExcelProperty("备注")
    private String notes;
    @ExcelIgnore
    private String createBy;
    @ExcelIgnore
    private Date createTime;
    @ExcelIgnore
    private String updateBy;
    @ExcelIgnore
    private Date updateTime;

    @ExcelIgnore
    private Integer isDelete;

    @ExcelProperty("仓库id")
    private Integer warehouseId;

    @ExcelProperty("仓库名称")
    private String warehouseName;

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public Integer getTax() {
        return tax;
    }

    public void setTax(Integer tax) {
        this.tax = tax;
    }

    public BigDecimal getInvoicingQuantity() {
        return invoicingQuantity;
    }

    public void setInvoicingQuantity(BigDecimal invoicingQuantity) {
        this.invoicingQuantity = invoicingQuantity;
    }

    public BigDecimal getInvoicingAmount() {
        return invoicingAmount;
    }

    public void setInvoicingAmount(BigDecimal invoicingAmount) {
        this.invoicingAmount = invoicingAmount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }


    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }
}
